瀏覽代碼

Remove commented out code

polscm32 1 年之前
父節點
當前提交
ed5f96410d
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

+ 0 - 4
FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

@@ -959,10 +959,6 @@ extension Home {
                     }
                     }
                 )
                 )
             }.ignoresSafeArea(.keyboard, edges: .bottom).blur(radius: state.waitForSuggestion ? 8 : 0)
             }.ignoresSafeArea(.keyboard, edges: .bottom).blur(radius: state.waitForSuggestion ? 8 : 0)
-//                .onChange(of: selectedTab) {
-//                    print("current path is empty: \(settingsPath.isEmpty)")
-//                    settingsPath = NavigationPath()
-//                }
                 .onChange(of: selectedTab) {
                 .onChange(of: selectedTab) {
                     if !settingsPath.isEmpty {
                     if !settingsPath.isEmpty {
                         settingsPath = NavigationPath()
                         settingsPath = NavigationPath()